package com.niit.dao;

import com.niit.pojo.Orders;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface OrdersMapper {


    int insertOrder(Orders order);

    int deleteOrderById(int oid);

    int updateOrder(Orders order);

    Orders getOrderById(int oid);

    List<Orders> getAllOrders();

    List<Orders> getOrdersByUserId(int uid);
}